package cac.fenjian.resource.MsWorkbinBasic.dto;

import cac.fenjian.resource.MsWorkbinMaterial.dto.MsWorkbinMaterialDTO;
import com.cac.dme.adapter.domain.BeanDTO;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.util.List;


@ApiModel(value = "MsWorkbinBasicDTO" ,description = "缓存料箱维护表")
public class MsWorkbinBasicDTO extends BeanDTO{
    private static final long serialVersionUID =1l;
    /**
     * ID主键
     */
    @ApiModelProperty(value = "ID主键" , name = "msWorkbinId")
    private String msWorkbinId;
    /*缓存料箱编码*/
    @ApiModelProperty(value = "缓存料箱编码" , name = "workbinCode")
    private String workbinCode;
    /*缓存料箱名称*/
    @ApiModelProperty(value = "缓存料箱名称" , name = "workbinName")
    private String workbinName;
    /*缓存料箱序列号*/
    @ApiModelProperty(value = "缓存料箱序列号" , name = "workbinSeq")
    private String workbinSeq;
    /*缓存料箱长度*/
    @ApiModelProperty(value = "缓存料箱长度" , name = "workbinLength")
    private String workbinLength;
    /*缓存料箱宽度*/
    @ApiModelProperty(value = "缓存料箱宽度" , name = "workbinWidth")
    private String workbinWidth;
    /*缓存料箱高度*/
    @ApiModelProperty(value = "缓存料箱高度" , name = "workbinHeight")
    private String workbinHeight;
    /*缓存料箱最大承受重量*/
    @ApiModelProperty(value = "缓存料箱最大承受重量" , name = "workbinWeight")
    private String workbinWeight;
    /*创建日期*/
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date creationDate;
    /*缓存箱物料结果集*/
    private List<MsWorkbinMaterialDTO> msWorkbinMaterialDTOList;

    @Override
    public String toString() {
        return "MsWorkbinBasicDTO{" +
                "msWorkbinId='" + msWorkbinId + '\'' +
                ", workbinCode='" + workbinCode + '\'' +
                ", workbinName='" + workbinName + '\'' +
                ", workbinSeq='" + workbinSeq + '\'' +
                ", workbinLength='" + workbinLength + '\'' +
                ", workbinWidth='" + workbinWidth + '\'' +
                ", workbinHeight='" + workbinHeight + '\'' +
                ", workbinWeight='" + workbinWeight + '\'' +
                '}';
    }

    public String getMsWorkbinId() {
        return msWorkbinId;
    }

    public void setMsWorkbinId(String msWorkbinId) {
        this.msWorkbinId = msWorkbinId;
    }

    public String getWorkbinCode() {
        return workbinCode;
    }

    public void setWorkbinCode(String workbinCode) {
        this.workbinCode = workbinCode;
    }

    public String getWorkbinName() {
        return workbinName;
    }

    public void setWorkbinName(String workbinName) {
        this.workbinName = workbinName;
    }

    public String getWorkbinSeq() {
        return workbinSeq;
    }

    public void setWorkbinSeq(String workbinSeq) {
        this.workbinSeq = workbinSeq;
    }

    public String getWorkbinLength() {
        return workbinLength;
    }

    public void setWorkbinLength(String workbinLength) {
        this.workbinLength = workbinLength;
    }

    public String getWorkbinWidth() {
        return workbinWidth;
    }

    public void setWorkbinWidth(String workbinWidth) {
        this.workbinWidth = workbinWidth;
    }

    public String getWorkbinHeight() {
        return workbinHeight;
    }

    public void setWorkbinHeight(String workbinHeight) {
        this.workbinHeight = workbinHeight;
    }

    public String getWorkbinWeight() {
        return workbinWeight;
    }

    public void setWorkbinWeight(String workbinWeight) {
        this.workbinWeight = workbinWeight;
    }

    @Override
    public Date getCreationDate() {
        return creationDate;
    }

    @Override
    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }

    public List<MsWorkbinMaterialDTO> getMsWorkbinMaterialDTOList() {
        return msWorkbinMaterialDTOList;
    }

    public void setMsWorkbinMaterialDTOList(List<MsWorkbinMaterialDTO> msWorkbinMaterialDTOList) {
        this.msWorkbinMaterialDTOList = msWorkbinMaterialDTOList;
    }
}
